    <link rel="stylesheet" type="text/css" href="#CHEMIN{alohacart.css}" />
    <style type="text/css">
        #page .liste-elements.orders .caption {
            background-image: url('#CHEMIN{img/alohacart_order_22x22.png}');
        }
        .unviewed_order {font-weight: bold;}
    </style>
    
    <!--#navigation-->
    <div class='cadre-info'>
    Здесь вы можете управлять заказами.
    </div>
    
    <INCLURE{fond=prive/left_navigation/alohacart_orders}>
    
    <!--/#navigation-->
    <!--#extra-->
        <!--Some extra content in the extra column.--> 
    <!--/#extra-->


    <h1><:alohacart:orders:></h1>
    <p>
        <!--<div class='formulaire_spip'>-->
            [<p class="reponse_formulaire reponse_formulaire_ok">(#PDK_MESSAGE_OK)</p>]
            [<p class="reponse_formulaire reponse_formulaire_erreur">(#PDK_MESSAGE_ERROR)</p>]
        <!--</div>-->

<B_auteurs>
#ANCRE_PAGINATION

<div class="liste-elements orders">
<table class='spip liste'>
<caption><strong class="caption"><:alohacart:orders_list:></strong></caption>
	<thead>
		<tr class='first_row'>
        <th></th>
		<th><a href="#URL_ECRIRE{alohacart_orders}&order=id_order[&sort_order=(#ENV{sort_order}|=={1}|?{0,1})]">ID</a></th>
        <th><a href="#URL_ECRIRE{alohacart_orders}&order=name[&sort_order=(#ENV{sort_order}|=={1}|?{0,1})]"><:alohacart:client_name:></a></th>
        <th><a href="#URL_ECRIRE{alohacart_orders}&order=titre[&sort_order=(#ENV{sort_order}|=={0}|?{1,0})]"><:alohacart:order_status:></a></th>        
        <th><a href="#URL_ECRIRE{alohacart_orders}&order=date[&sort_order=(#ENV{sort_order}|=={0}|?{1,0})]"><:alohacart:order_date:></a></th>        
        <th><a href="#URL_ECRIRE{alohacart_orders}&order=total_price[&sort_order=(#ENV{sort_order}|=={0}|?{1,0})]"><:alohacart:order_total_price:></a></th>
        <th></th>
		</tr>
	</thead>
	<tbody>
	<BOUCLE_auteurs(ALOHACART_ORDERS spip_alohacart_orders_statuts){tri #ENV{order, date}}{inverse #ENV{sort_order, 1}} {pagination 50}>
		<tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})] [(#VIEWED|!={1}|?{unviewed_order})]">
            <td>
                <a title="<:alohacart:save_order_as_excel:>" href="#URL_ECRIRE{alohacart_order_print, id_order=#ID_ORDER}">
                    <img src="#CHEMIN{img/excel_24x24.png}" alt="<:alohacart:save_order_as_excel:>" width="20" height="20"/>
                </a>
            </td> 
            <td class='id_order'>#ID_ORDER</td>             			
            <td class='name'>#NAME</td>
            <td class='titre'>#TITRE</td>						
            <td class='date'>[(#DATE|affdate{'d.m.Y, H:i'})]</td>
            <td class='total_price'>#TOTAL_PRICE</td>
            <td><a href="#URL_ECRIRE{alohacart_order_edit, id_order=#ID_ORDER}"><:alohacart:edit:></a></td>
		</tr>
	</BOUCLE_auteurs>
	</tbody>
</table>
[<p class='pagination'>(#PAGINATION{prive})</p>]
</div>
</B_auteurs>
<div class="liste-elements orders"><strong class="caption"><:alohacart:no_orders:></strong></div>
<//B_auteurs>



</p>